﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Decoration.Models.Dto
{
    public class UserProcedurePostDto
    {
        public int ProjectId { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        [MaxLength(50)]
        public string ProcedureName { get; set; } = null!;

        /// <summary>
        /// 工序负责人
        /// </summary>
        public int Employee { get; set; }

        [MaxLength(50)]
        public string EmployeeName { get; set; } = null!;

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime BeginDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndDate { get; set; }

        /// <summary>
        /// 注意事项
        /// </summary>
        [MaxLength(500)]
        public string? Desc { get; set; }

        /// <summary>
        /// 工序序号
        /// </summary>
        public int ProcedureOrder { get; set; }


        public int CheckStatus { get; set; } = 1;
        public int Status { get; set; } = 1;
    }
}
